package com.turing.pre.processor;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@ComponentScan(basePackages = {"com.turing"})
@MapperScan(basePackages = {"com.turing.pre.processor.dao"})
@EnableScheduling
@EnableAsync
@EnableFeignClients(basePackages = "com.turing.**.inner")
public class PreProcessorApplication {

    public static void main(String[] args) {
        SpringApplication.run(PreProcessorApplication.class, args);
    }

}
